package com.zte.claa.inficombo.csa.app.model.redis;

// 主要用于redis发布.
public class XStateData {
	
	// 状态消息类型.
	public static final int TP_UNKNOWN	= 0;
	public static final int TP_CSQUIT 	= 1;
	public static final int TP_CSCONN 	= 2;
	public static final int TP_DEVJOIN 	= 3;
	public static final int TP_DEVONLINE = 4;
	
	// 消息类型。
	private int msgtype = TP_UNKNOWN;
	// 关联对象ID（appeui或deveui等）
	private String xEUI="";
	
	// 具体消息体内容.
	private Object data;
	
	public XStateData(){
		
	}

	public int getMsgtype() {
		return msgtype;
	}

	public void setMsgtype(int msgtype) {
		this.msgtype = msgtype;
	}

	public String getxEUI() {
		return xEUI;
	}

	public void setxEUI(String xEUI) {
		this.xEUI = xEUI;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

}
